{{- $summary := .Summary -}}
{{- if .Truncated -}}
    <!-- For the CJK language, add ellipsis. -->
    {{- if .Params.isCJKLanguage -}}
        {{- $summary = printf `%s%s` .Summary (i18n "ellipsis") | safeHTML -}}
    <!-- For the other languages, no need. -->
    <!-- Hugo’s automatic summary split method will split until end of sentence. -->
    <!-- (Tested English Only) -->
    {{- end -}}
{{- end -}}
{{- return $summary -}}
